@model viBook.Models.Chapter

@{
	ViewBag.Title = "Edit";
}

<h2>Edit</h2>

@using (Html.BeginForm()) {
	@Html.ValidationSummary(true)
	<fieldset>
		<legend>Chapter</legend>

		@Html.HiddenFor(model => model.Id)
		@Html.Partial("_CreateOrEdit", Model)

		<p>
			<input type="submit" value="Save" />
		</p>
	</fieldset>
}
<div>

</div>
<div>
	@Html.ActionLink("Back to List", "Index")
</div>
